export default [
  {
    path: '/home',
    component: 'home'
  },
  {
    path: '/cate',
    component: 'cate'
  },
  {
    path: '/cart',
    wrappers: [
      '@/auth'
    ],
    component: 'cart'
  },
  {
    path: '/user',
    wrappers: [
      '@/auth'
    ],
    component: 'user'
  },
  {
    path: '/login',
    component: 'login'
  },
  {
    path: '/detail/:id',
    component: 'detail'
  },
  {
    path: '/itemLists',
    component: 'itemLists'
  },
  {
    path: '/register',
    component: 'register'
  },
  {
    path: '/',
    redirect: '/home'
  },
  {
    path: '*',
    component: 'notFound'
  }
]